﻿using ComicQ.Domain.Table;
using FluentNHibernate.Mapping;

namespace ComicQ.Domain.Mapping
{
    sealed class ReturnDetailMap : ClassMap<ReturnDetail>
    {
        public ReturnDetailMap()
        {
            Id(x => x.Id);
            References(x => x.Return).Cascade.All();
            References(x => x.OrderDetail).Cascade.All();
        }
    }
}
